import { createApp, nextTick } from 'vue';
// import '../qiankun.js'; // 引入乾坤微服务
// import { startApp } from '../qiankun.js';
import App from './App.vue';
import router from './router';
const app = createApp(App);
app.use(router);
app.mount('#app');

// nexttick 的时候动态加载 qiankun.js 解决qiankun 子应用加载问题 主应用激活子应用后，刷新报错
nextTick(async () => {
  await import('../qiankun.js');
});
